<?php

namespace app\common\validate;

use think\Validate;

class Area extends BaseValidate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'pid' => ['number', '>=:0'],
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'list'  => ['pid'],
    ];

}
